package com.hyj.shop.project.goods.domain;

import java.util.StringJoiner;

public class GoodsInfoImg {
    private int goodsId;
    private int goodsInfoId;
    private String imgUrl;
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getGoodsInfoId() {
        return goodsInfoId;
    }

    public void setGoodsInfoId(int goodsInfoId) {
        this.goodsInfoId = goodsInfoId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", GoodsInfoImg.class.getSimpleName() + "[", "]")
                .add("goodsId=" + goodsId)
                .add("goodsInfoId=" + goodsInfoId)
                .add("imgUrl='" + imgUrl + "'")
                .toString();
    }
}
